/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Add background image with opacity using ::before */
body {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Remove background property from here */
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('assets/smhes.png') no-repeat center center / cover; /* Change to your image file */
  opacity: 0.5; /* Adjust opacity as needed */
  z-index: -1;
  pointer-events: none;
}

body, html {
  height: 100%;
  /* background image:  no-repeat center center / cover; */ /* Remove or comment out this line */
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container,
.register-box {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.login-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.logo-icon {
  color: #1e3a8a;
}

.logo-text h1 {
  font-size: 24px;
  color: #1e3a8a;
}

.logo-text p {
  font-size: 13px;
  color: #64748b;
  margin-top: -5px;
}

h2 {
  font-size: 22px;
  margin: 10px 0 5px;
  color: #0f172a;
}

p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 20px;
}

/* Form */
.login-form label {
  font-size: 14px;
  margin-bottom: 5px;
  color: #334155;
  display: block;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 10px 35px 10px 35px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  outline: none;
}

.input-group .icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #94a3b8;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 15px;
  gap: 10px;
}

.form-options a {
   color: #a3a3a3;
   text-decoration: none;
   align-self: center;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 6px; 
  margin: 0;
}

.btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
  margin-bottom: 15px;
}

.btn-secondary {
  background-color: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.btn-secondary i {
  margin-right: 8px;
}

.divider {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  margin: 10px 0;
}

.signup-text {
  font-size: 13px;
  margin-top: 20px;
  text-align: center;
  color: #64748b;
}

.signup-text a {
  color: #3b82f6;
  text-decoration: none;
}